package ooday02work;

public class Student extends Person{
    String className ;
    String stuId;
    Student(String name ,int age ,String address ,String className ,String stuId){
        super(name, age, address);
        this.className = className;
        this.stuId = stuId;
    }
    void study(){
        System.out.println(name+ "在认真学习...");
    }
    void eat(){
        System.out.println(name+"在学校食堂吃饭...");
    }
    void sleep(){
        System.out.println(className+"班的"+name+"在睡觉");
    }
}
